//
//  GLGWTextField.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/12.
//  Copyright © 2018年 yang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface GLGWTextField : UITextField

- (id)initTitlePlaceholder:(NSString *)aPlaceh
               inSuperView:(UIView *)aSuperView;

- (id)initWithFrame:(CGRect)frame
   titlePlaceholder:(NSString *)aPlaceh
        inSuperView:(UIView *)aSuperView;

- (id)initTitlePlaceholder:(NSString *)aPlaceh
                   theFont:(UIFont *)aFont
               theTitColor:(UIColor *)aColor
               inSuperView:(UIView *)aSuperView;

- (id)initWithFrame:(CGRect)frame
   titlePlaceholder:(NSString *)aPlaceh
            theFont:(UIFont *)aFont
        theTitColor:(UIColor *)aColor
        inSuperView:(UIView *)aSuperView;
-(void)setCornerRadius:(CGFloat)aRadius borderColor:(UIColor *)aColor borderWidth:(CGFloat)aWidth;
/**
 *  每隔多少字符分割
 **/
@property (nonatomic,assign) NSInteger separateCount;
/**
 *  分割的array @[@"3",@"4",@"4"];
 **/
@property (nonatomic,copy) NSArray * separateArray;
/**
 *  用户实际输入的内容 有间隔的时候
 **/
@property (nonatomic,copy) NSString *userInputContent;

/**
 *  限制用户实际输入的数量，默认无限制
 **/
@property (nonatomic,assign) NSInteger limitCount;
@end

NS_ASSUME_NONNULL_END
